package com.alibaba.algo.components.yapi.util;

/**
 * @Description: 支持的表单组件
 * @author: malin
 * @date: 2020-9-21 15:22:35
 */
public enum ComponentName {

	TextField("TextField", "TextField"), TextareaField("TextareaField", "多行文本"), MoneyField("MoneyField", "金额"),
	NumberField("NumberField", "数字输入框"), DDDateField("DDDateField", "日期"), DDDateRangeField("DDDateRangeField", "日期区间");

	private String name;
	ComponentName(String name, String desc) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public static void main(String[] args) {
		System.out.println(ComponentName.TextareaField.name);
		System.out.println(ComponentName.DDDateField.getName());
	}
}
